package com.emergency.data.vo;

import com.emergency.data.entity.AffectedSuppliesDemand;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("受灾点调度详情VO")
public class AffectedPointDispatchVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("受灾点名称")
    private String name;

    @ApiModelProperty("受灾点地址")
    private String address;

    @ApiModelProperty("受灾面积 单位：㎡")
    private Double area;

    @ApiModelProperty("人口")
    private Integer peopleCount;

    @ApiModelProperty("受灾人数")
    private Integer affectedCount;

    @ApiModelProperty("调度人数")
    private Integer scheduleCount;

    @ApiModelProperty("搜索范围")
    private Integer scheduleScope;

    @ApiModelProperty("状态：0-未调度；1-已调度；2-已消除")
    private Integer status;

    @ApiModelProperty("经纬度区域（以josn数字形式存储经纬度数据）")
    private String mapInfo;

    private int type;

    @ApiModelProperty("救援队伍")
    private List<RescueTeamTypeVO> rescueTeamTypeList;

    @ApiModelProperty("调度避灾点")
    private List<SettlementDispatchVO> settlementList;

    @ApiModelProperty("调度的物资")
    private List<SuppliesDispatchVO> suppliesList;

//    private Map<Long, List<RescueTeamDispatchVO>> rescueTeamList;

    @ApiModelProperty("按需筛选的物资类型")
    private List<AffectedSuppliesDemand> affectedSuppliesDemandList;

}
